﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Rooms.aspx.cs" Inherits="BlueMarineWebClient.Rooms" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TopMainContent" runat="server">
<form runat="server">
<asp:DataList ID="dlRoomTypes" runat="server" Width="100%">
            <ItemTemplate>
                <h2><asp:Label ID="lblPrTitle" runat="server" Text='<%# Eval("RoomTypeTitle") %>'></asp:Label></h2>
                <div class="image_wrapper image_fl"><span></span>
                    <asp:Image ID="imgPrImage" runat="server" width="130px" Height="107px" 
                               ImageUrl='<%# Eval("RoomTypeID", "images/room/{0}.jpg") %>' />
                </div>         
                <p>
		            Rank: <asp:Label ID="Label1" runat="server" Text='<%# Eval("RoomRank") %>'></asp:Label>
                </p>
                <p>
		            Price: <asp:Label ID="lblPrice" runat="server" Text='<%# Eval("RoomPrice") %>' 
                        Font-Bold="True" ForeColor="Red"></asp:Label>
                </p>
                <p>
                    <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("View") %>' Text="View" />
                    <asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Bath") %>' Text="Bath" />
                    <asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("Balcony") %>'  Text="Balcony" />
                </p>
                <div class="cleaner"></div>                
            </ItemTemplate>
        </asp:DataList>
        </form>
</asp:Content>
